//
//  Ext+UIBarButtonItem.swift
//  BQWB
//
//  Created by laibingqiang on 16/10/22.
//  Copyright © 2016年 laibingqiang. All rights reserved.
//

import UIKit

extension UIBarButtonItem{
    
    convenience init(target:Any?,action:Selector,imgName:String?,backImg:String?,title:String?) {
        
        self.init()
        
        let leftBtn:UIButton = UIButton(target: target, action: action, imgName: imgName, backImg: backImg, title: title)
        
        self.customView = leftBtn
        
    }
    
}
